project(test)

set(CMAKE_CXX_STANDARD 20)
add_library(catch SHARED
        catch/catch_amalgamated.hpp
        catch/catch_amalgamated.cpp)


aux_source_directory(${PROJECT_SOURCE_DIR}/logger inc)
add_executable(test test.cpp)

target_link_libraries(test PRIVATE
        config
        httplib
        server)

target_include_directories(test PUBLIC
        catch)


add_executable(TEST TEST.cpp)
target_include_directories(TEST PRIVATE
        catch)
target_link_libraries(TEST
        catch
        server
        logger
        sqlserver)
